package org.zfes.snowier.zbss.xzy.message;
import java.io.Serializable;

public class MessagePusDto implements Serializable{

	private static final long serialVersionUID = 1L;
	
	public MessagePusDto() {}
	
	//<-------------------------------------------->
	  @org.hibernate.validator.constraints.Length(min=0,max=60,message="设备编号长度不能大于60")
	  private java.lang.String deviceNum;
	  @org.hibernate.validator.constraints.Length(min=0,max=100,message="预警标题长度不能大于100")
	  private java.lang.String title;
	  @org.hibernate.validator.constraints.Length(min=0,max=2147483647,message="详细描述长度不能大于2,147,483,647")
	  private java.lang.String content;
	  private String typeCode;
 
	
	//<-------------------------------------------->
	public MessagePusDto setDeviceNum(java.lang.String deviceNum){
		this.deviceNum=deviceNum==null?null:deviceNum.trim();
	 return this;
	}
	public java.lang.String getDeviceNum(){
		return this.deviceNum;
	}
	public MessagePusDto setTitle(java.lang.String title){
		this.title=title==null?null:title.trim();
	 return this;
	}
	public java.lang.String getTitle(){
		return this.title;
	}

	public MessagePusDto setContent(java.lang.String content){
		this.content=content==null?null:content.trim();
	 return this;
	}
	public java.lang.String getContent(){
		return this.content;
	}
	public String getTypeCode() {
		return typeCode;
	}
	public MessagePusDto setTypeCode(String typeCode) {
		this.typeCode = typeCode;
		 return this;
	}
	@Override
	public String toString() {
		return "MessagePusDto [deviceNum=" + deviceNum + ", title=" + title + ", content=" + content + ", typeCode="
				+ typeCode + "]";
	}
	

}
